package team.seekers.skill.entity.vo.admin.update;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "", description="用于管理该技能所有的章")
public class AdminChapterUpdateVO {

    private String id;

    @NotBlank(message = "章的标题不能为空")
    private String title;

    @NotNull(message = "章的次序不能为空")
    private Integer sequence;

    private List<AdminSectionUpdateVO> adminSectionUpdateVOList;

}
